package com.lin.manager.notice.message;

import com.lin.manager.common.enums.NoticeEnum;
import com.lin.manager.notice.model.dto.NoticeDTO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.math.NumberUtils;
import org.springframework.stereotype.Component;

/**
 * @作者: 林江
 * @创建时间: 2024/4/10
 * @功能: 系统消息
 */
@Slf4j
@Component
public class SystemNoticeMessage implements NoticeMessage {

    @Override
    public void send(NoticeDTO dto) {
        if (dto.getSendStatus().equals(NumberUtils.INTEGER_TWO)) {
        }
    }

    @Override
    public NoticeEnum getSendType() {
        return NoticeEnum.SYSTEM_NOTICE;
    }

}
